package net.hn.hnms.biz.safety.wind.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 智呈物联 nzw
 * @date 2022/12/19
 */

@Data
@Entity
@Table(name = "wind_door_details")
public class WindDoorDetailsEntity {

    @ApiModelProperty(value = "风门详情id")
    @Column(name = "wind_door_details_id")
    @TableId(value = "wind_door_details_id")
    @Id
    private Long id;

    @Column(name = "wind_door_id")
    @ApiModelProperty(value = "风门id")
    private Long windDoorId;

    @Column(name = "wind_door_name")
    @ApiModelProperty(value = "风门名称")
    private String windDoorName;

    @Column(name = "close_in_place")
    @ApiModelProperty(value = "关到位")
    private String closeInPlace;

    @Column(name = "open_in_place")
    @ApiModelProperty(value = "开到位")
    private String openInPlace;

    @Column(name = "wind_door_control")
    @ApiModelProperty(value = "风门模式")
    private String windDoorControl;

    @Column(name = "wind_door_infrared_signal")
    @ApiModelProperty(value = "风门红外信号")
    private String windDoorInfraredSignal;
}
